﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace OznerOA.Common
{
    public class HttpBaseResult
    {
        /// <summary>
        /// 结果状态码
        /// </summary>
        public int Code { get; set; }
        /// <summary>
        /// 结果描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 图片结果
        /// </summary>
        public Image Image { get; set; }
        /// <summary>
        /// 文本结果
        /// </summary>
        public string Html { get; set; }
        /// <summary>
        /// byte[]结果
        /// </summary>
        public byte[] Bytes { get; set; }
        /// <summary>
        /// 返回的Cookie
        /// </summary>
        public string Cookie { get; set; }
        /// <summary>
        /// 最后访问的URI
        /// </summary>
        public string ResponseUri { get; set; }
        /// <summary>
        /// 获取重定向的URL
        /// </summary>
        public string RedirectUrl { get; set; }
        /// <summary>
        /// 返回的COntentType
        /// </summary>
        public string ContentType { get; set; }
    }
}
